#include"functions.h"

int main()
{
  int n = 100;
  double** A = new double*[n];
  for(int i = 0; i < n; i++)
    {
      A[i] = new double[n]();
      A[i][i] = 2.0;
    }
  for(int i = 1; i < n; i++)
    {
      A[i-1][i] = A[i][i-1] = -1.0;
    }
  Dichotomy(A, 1, pow(10, -5), n);
  std::cout << std::endl;
  Dichotomy(A, 100, pow(10, -5), n);
  
  return 0;
};
